package com.autumn.platform.auth.core.access;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface AccessStrategy {

    public enum Strategy {
        ANY, SESSION, AUTH
    }

    Strategy value() default Strategy.AUTH;
}
